package session.TX;

import entity.Stakeholder;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author TWD
 */
@Remote
public interface StakeholderAccountSBRemote {

    
    //Randall added on 5-Nov-11
    //This method is used to create stakeholders,
    //it caters to stakeholders of all categories (the type of stakeholder to be made is determined by the categoryDescription string)
    public boolean createStakeholder(
            String name, 
            String address,
            String phoneNo,
            String postalCode,
            String categoryDescription,
            
            Integer loyaltyPoints,
            String stakeholderTier);
    
    
    
    public List<Stakeholder> getAllStakeholders();
    
    public List<Stakeholder> getSpecificStakeholders(String name);

   




    public boolean changeStakeholderTier(java.lang.String stringTier, java.lang.String name);

    public boolean deleteStakeholder(java.lang.String name);

    public java.util.List<Helper.Helper_Stakeholder_Food> getAllStakeholderFoodHelper();

    public java.util.List<Helper.Helper_Outlet> getOutletsByStakeholder(java.lang.String sname);

    public void givePointsToStakeholder(String stakeholderName, int pointsToGive);
    
    public Stakeholder findStakeholderByName(String stakeholderName);

    public entity.StakeholderFood findStakeholder(java.lang.Long id);
    
    public boolean changeStakeholderBI(String bi, String name);
    
    
}
